package com.smartstate.dataManagement.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@ApiModel(description = "设备报警传入DTO")
@EqualsAndHashCode
public class DeviceAlarmDTO {

    @ApiModelProperty(value = "设备编码")
    private String deviceId;

    @ApiModelProperty(value = "属性名称")
    private String attributeAlias;

    @ApiModelProperty(value = "DataId")
    private String DataId;

    @ApiModelProperty(value = "上限")
    private String up;

    @ApiModelProperty(value = "下限")
    private String down;

    @ApiModelProperty(value = "偏差")
    private String deviation;

    @ApiModelProperty(value = "是否报警")
    private String isAlarm;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "推送规则")
    private String pushRole;
}
